SureCart\Rest\CheckoutRestServiceProvider S

Total Complexity 30
Dependencies 6
Dependents 0
Total lines 338
Lines of code 202
Logical lines of code 50
Comment lines 107
Methods 12
Properties 3

Methods 12

Method Rating Maintainability Complexity Lines of code
finalize_permissions_check()
A
49 10 27
filter_response_by_context()
S
58 7 14
registerRoutes()
S
40 1 86
get_item_schema()
S
46 2 45
create_item_permissions_check()
S
70 2 6
update_item_permissions_check()
S
70 2 6
confirm_permissions_check()
S
80 1 3
get_item_permissions_check()
S
82 1 3
get_items_permissions_check()
S
79 1 3
delete_item_permissions_check()
S
82 1 3
manually_pay_permissions_check()
S
80 1 3
cancel_item_permissions_check()
S
80 1 3